package refactor.extractsubclass.original;

public class JobItemClient {
    public int clientMethod() {
        Employee kent = new Employee(2);
        JobItem jobItem = new JobItem(0, 5, kent, true);
        return jobItem.calcTotalPrice();
    }

    public int clientMethodForNotLabor() {
        JobItem jobItem = new JobItem(1, 5, null, false);
        return jobItem.calcTotalPrice();
    }

}
